cmake_minimum_required(VERSION 2.4)
PROJECT(Chat CXX)

SET(INCLUDES ${Chat_SOURCE_DIR}/include)

SET(CMAKE_BUILD_TYPE debug)
SET(CMAKE_CXX_FLAGS "-Wall -I${INCLUDES}")
SET(CMAKE_CXX_FLAGS_DEBUG "-ggdb")

ADD_SUBDIRECTORY(lib)

ADD_SUBDIRECTORY(irc-client)
ADD_SUBDIRECTORY(irc-server)
